:root {
  --primary-color: #3f51b5;
  --bg-color: #f5f5f5;
  --box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

body {
  background: var(--bg-color);
  font-family: 'Open Sans', sans-serif;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  text-align: center;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

.v1, 
.v2 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
}

#video {
  flex: 1 1 500px;
  width: 55%;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.res {
  flex: 1 1 500px;
  text-align: center;
}

#resVideo {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  transition: all 0.3s;
}

#resVideo:hover {
  transform: scale(1.05);
}

.slider {
  margin-top: 20px;
  text-align: left;
}

.slider input {
  width: 100%;
  padding: 10px;
} 

.slider span {
  font-size: 0.9rem;
  color: #666;
}


/* 平板 */
@media (max-width: 1024px) {

  .content {
    gap: 10px;
  }

  #video,
  .res {
    flex: 1 1 auto;
  }

}

/* 手机 */
@media (max-width: 768px) {

  .content {
    flex-direction: column;
  }
  
  #video,
  .res {
    width: 100%;
  }
  #resVideo{
    max-height: 23em;
  }

}
